<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
<h:head>
<style></style>
</h:head>
<h:body>
 

<p:layout fullPage="true">

                <p:layoutUnit id="top" position="north" size="15%" >
                
                <p:toolbar>  
    				<p:toolbarGroup align="left">
    				<h3>
                	<h:link outcome="home.html" value="TravelDream" /></h3>
                
                	</p:toolbarGroup>
                </p:toolbar>
                </p:layoutUnit>
                               
                
                <p:layoutUnit id="bottom" position="south" size="25%">
               
                TravelDream s.p.a Sede legale: Calolziocorte Via Serenissima 219   
                 <p>Are you an employee? <h:link outcome="/admins/home.xhtml" value="Click here"/></p>  
                </p:layoutUnit>
                <p:layoutUnit id="left" position="west" size="25%" header="SIGN IN">
                
			         	<p>If you already have a TravelDream account <h:link outcome="/users/home.xhtml" value="Click here"/> </p> <br/>
			         	
				</p:layoutUnit>
                
                
                <p:layoutUnit id="right" position="east" size="25%" header="SEARCH NOW"> 
                <br/>
                	If you are not already registered, start searching through our proposed packages to take a look!<br/><br/>
                	<h:link outcome="search.xhtml" value="Search now!" />                
                </p:layoutUnit>
                
                <p:layoutUnit id="center" position="center" >
                   <p:layout>
                      <p:layoutUnit id="inner_west" position="west" size="50%" header="REGISTER">
                     <br></br>  <h:link outcome="register.html" value="Register" />  to access the marvellous world of TravelDream! <br/><br/> 
                      		
                      		
                      
                </p:layoutUnit>              
                      <p:layoutUnit id="inner_center" position="center" size ="50%" header="SEARCH PACKAGE BY ID">
                       	<br/>If you already have a package ID given by a friend, insert it here!   <br/><br/> Insert ID:                    	   
                	  <h:form>                       	
                      	<p:inputText id="ID" value="#{savedPackageBean.packID}" /> <br/> 
                      	<p:commandButton type="submit" value="Submit" action="#{savedPackageBean.searchSavedOtherPackagebyID()}" />
                      </h:form> 
                      </p:layoutUnit>                    
                   </p:layout>
                 </p:layoutUnit>
              
            </p:layout>	
            
        
      

		
			 	
</h:body>
</html>
